package com.yyplatform.frontend.infra.enums;

/**
 * Created on 2024-10-18
 */
public enum UserGenderEnum implements OptionEnum<Integer> {
    UNKNOW(0, "未知性别"), //
    MALE(1, "男性"), //
    FEMALE(2, "女性"),//
    ;
    private int val;
    private String name;

    UserGenderEnum(int v, String n) {
        this.val = v;
        this.name = n;
    }

    @Override
    public String getLabel() {
        return name;
    }

    @Override
    public Integer getValue() {
        return val;
    }

}
